package cloud.maque.module.system.service;

import cloud.maque.module.system.entity.SysUserRole;
import com.baomidou.mybatisplus.extension.service.IService;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public interface UserRoleService extends IService<SysUserRole> {


    List<SysUserRole> GetList(SysUserRole data);

    SysUserRole SaveUserDept(SysUserRole data);

    Boolean DeleteByRoleId(String roleId);

    Boolean DeleteByUserId(String userId);
}
